import request from "@/utils/request";
import { stringify } from "qs";
import { toFormData } from "@/utils/utils.jsx";

export default {
	//获取异常原因-所有
	getErrorReasonAll() {
		return request(`/new-common/errorConfig/listAllError`);
	},

	//批量修改异常
	batchUpdatErrorList(params) {
		return request(`/new-common/errorConfig/batchUpdate`, {
			method: "post",
			data: params
		});
	}
};
